using UnityEngine;
using System.Collections;

public class PlayerIdleState : State<PlayerControl>
{
    #region Singleton

    private static PlayerIdleState instance = new PlayerIdleState();
    public static PlayerIdleState Instance { get { return instance; } }
    private PlayerIdleState() { }

    #endregion
    
    #region State

    public override void OnEnter(PlayerControl behaviour)
    {
        // TODO
        // Play animation idleAnim
        behaviour.PlayAnimation("idle");
    }

    public override void OnUpdate(PlayerControl behaviour)
    {

    }

    public override void OnExit(PlayerControl behaviour)
    {
        // TODO
        // Stop animation idleAnim
    }

    public override void OnAction(string name, PlayerControl behaviour, object value)
    {

    }

    #endregion
}
